import request from "@/utils/request";
// 创建信息
export function teacherLabelList(data) {
  return request({
    url: "/teacher/label/list",
    method: "get",
    params: data
  });
}
export function teacherLabel_add(query) {
  return request({
    url: "/teacher/label",
    method: "post",
    data: query
  });
}
export function teacherLabel_update(data) {
  return request({
    url: "/teacher/label",
    method: "put",
    data: data
  });
}
export function teacherLabel_delete(deptId) {
  return request({
    url: "/teacher/label/" + deptId,
    method: "delete"
  });
}

// 
export function teacherList(data) {
  return request({
    url: "/teacher/teacher/list",
    method: "get",
    params: data
  });
}

export function teacherList1(data) {
  return request({
    url: "/system/user/list",
    method: "get",
    params: data
  });
}



export function teacherList_add(query) {
  return request({
    url: "/teacher/teacher",
    method: "post",
    data: query
  });
}
export function teacherList_update(data) {
  return request({
    url: "/teacher/teacher",
    method: "put",
    data: data
  });
}
export function teacherList_delete(deptId) {
  return request({
    url: "/teacher/teacher/" + deptId,
    method: "delete"
  });
}


// 审批老师列表
export function checkTeacherList(data) {
  return request({
    url: "/system/user/teacher/list",
    method: "get",
    params: data
  });
}

export function city() {
    return request({
      url: "/region/list/"+'1',
      method: "get",
    });
  }